home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 4
/
64er_Magazin_Sonderheft_04_86-04_1986_Markt__Technik_de_Disk_1_of_2_Side_A.d64
/
listing 22.d
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
389b
|
18 lines
50000 rem input-routine ---------------
50001 :
50002 sl=40
50005 sl=40
50020 print"":be$="":poke 198,0:poke211,0:poke214,22:sys58732:print"[158][164]";
50030 getx$:ifpeek(203)=1then50120
50040 if x$=""then 50030
50050 if len(be$)=0 and asc(x$) =20then 50030
50060 i=asc(x$):ifi<32ori>133andi<159then ifi<>20 then 50030
50070 iflen(be$)=slandi<>20then50030
50075 ifx$=" "thenx$=""
50080 be$=be$+x$
50090 printchr$(20);x$;"[164]";
50100 if i=20thenbe$=left$(be$,len(be$)-2):goto 50030
50110 goto 50030
50120 print"[157] "
50140 return